package cn.iocoder.yudao.module.product.controller.admin.sku.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.Map;

@Schema(description = "管理后台 - 商品 SKU Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProductSkuRespVO extends ProductSkuBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "spuId")
    private Long spuId;

    @Schema(description = "门店名称")
    private String storeName;

    @Schema(description = "门店价格")
    private Integer storePrice;

    @Schema(description = "使用容器id(即sku_id)")
    private Long containerSkuId;

    @Schema(description = "容器规格")
    private String containerSpec;

    @Schema(description = "退残单价")
    private Integer incompletePrice;

    @Schema(description = "退残单价是否开启")
    private Boolean enable;

    @Schema(description = "sku编码")
    private String skuCode;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "商品创建时间")
    private LocalDateTime createTime;

    @Schema(description = "包装物名称")
    private String packageName;

    @Schema(description = "是否需要容器(0不需要，1需要)")
    private Integer isUseContainer;

    @Schema(description = "商品属性")
    private String productProperty;

}
